package com.csj.DesignPattern.factory.factoryMethod;


//相当于ArrayList中的内部类Itr
public class AmericanCoffee extends Coffee{
    @Override
    public String getName() {
        return "美式咖啡";
    }
}
/*
public class ArrayList<E>
{
    private class Itr implements Iterator<E>
    {
    }
}
 */
